A Unified View of Programming Schemas and Proof Methods
نویسندگان
چکیده
The objectives of this investigation are (a) to study the similarities between proof planning and schema-guided programming (i.e., between proof methods and programming schemas), and (b) to express the latter in terms of the former, so as to be able to use any proof planner as an existing implementation platform for developing the first schema-guided developer of (standard or constraint) logic programs. This approach has the pleasant side-effect that any proof obligations, such as verifications, matchings, or simplifications, arising during schema-guided programming can also be handled within the plan-guided automated theorem prover. At the same time, this approach reveals an opportunity for identifying and integrating useful heuristics of when and how to apply what programming schema, which dimension had hitherto been much neglected for programming schemas, but not for proof methods. We will first revisit plan-guided theorem proving [2] (in Section 2) and then introduce the notion of schema-guided programming, as a generalisation of schema-guided program synthesis (whether through specification decomposition [25, 10] or through pre-computation for a specification schema [26, 12]) and of schema-guided program transformation [27, 6, 23] (in Section 3). This provides us with a framework [22] for unifying plan-guided theorem proving and schema-guided programming, and allows us thus to encode programming schemas as proof methods (in Section 4). Finally, we outline some first heuristics of when and how to apply what programming schema (in Section 5), as such heuristics naturally fit within this encoding. In the conclusion (Section 6), we summarise and sketch how to continue this research.
منابع مشابه
A Unified View of Program Schemas and Proof Methods
Both proof planning and schema-guided program synthesis can be seen as a recursive problem decomposition process followed by a recursive solution composition process, with problems being either conjectures or specifications, and solutions being either tactics or programs. We thus develop a unified view of these two activities. This approach reveals an opportunity for identifying and integrating...
متن کاملA Unified View of Induction Reasoning for First-Order Logic
Induction is a powerful proof technique adapted to reason on sets with an unbounded number of elements. In a first-order setting, two different methods are distinguished: the conventional induction, based on explicit induction schemas, and the implicit induction, based on reductive procedures. We propose a new cycle-based induction method that keeps their best features, i.e., performs local and...
متن کاملFuzzy Linear Programming and its Application for a Constructive Proof of a Fuzzy Version of Farkas Lemma
The main aim of this paper is to deal with a fuzzy version of Farkas lemma involving trapezoidal fuzzy numbers. In turns to that the fuzzy linear programming and duality theory on these problems can be used to provide a constructive proof for Farkas lemma. Keywords Farkas Lemma, Fuzzy Linear Programming, Duality, Ranking Functions.
متن کاملA Unified Generative Programming Environment
Modern code generators are capable of producing code from a variety of models, ranging from database schemas and UML models to W3C Schemas and files of proprietary format. However, each generator typically supports one type of model (e.g. UML models). Consequently, every time developers need to generate code from a different type of model, they have to employ and learn a different tool. In this...
متن کاملTowards A Unified Framework For Schema Merging
Merging schemas to create a mediated view is a recurring problem in applications related to data interoperability. The task becomes particularly challenging when the schemas are highly heterogeneous and autonomous. Classical data integration systems rely on a mediated schema created by human experts through an intensive design process. Automatic generation of mediated schemas is still a goal to...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1999